﻿using System;
using System.Drawing;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading;
using Síť;

namespace NetShips {
    static class Program {
        public static Boolean Retaliation = false;
        public const byte POINT_SIZE = 25;
        public static string[] Names;

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main() {
            Thread.CurrentThread.Name = "Program.cs";

            Communicator kom = new Communicator();
            Names =  new string[2];

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Game frmMain = new Game(kom);
            Application.Run(frmMain);

            /*            while(Odveta) {
                            Form1 frm = new Form1(kom);
                            ApplicationContext cont = new ApplicationContext(frm);
                
                            Application.Run(cont);
                            frm.Dispose();
                            frm = null;
                        }*/

        }



    }

}